Get unlimited access
Open in app
Home
Notifications
Lists
Stories

Write
Kyle T
Kyle T

May 1, 2021

·
1 min read

[SQL Problem]Higher Than 75 Marks

SELECT NAME
FROM STUDENTS
WHERE Marks > 75
ORDER BY RIGHT(NAME, 3) , ID

Syntax

LEFT(string, number_of_chars)

REF: https://docs.microsoft.com/en-us/sql/t-sql/functions/left-transact-sql?view=sql-server-ver15

--

--

More from Kyle T

Love podcasts or audiobooks? Learn on the go with our new app.

Try Knowable

Recommended from Medium

Riley Wong

Riley Wong

Half Full

Orlando Thöny

Orlando Thöny

GitLab CI: Docker in Docker (DinD) on gitlab.com Shared Runners

Seth Corker

Seth Corker

in

Benevolent Bytes

Moving from Medium to Ghost

Sanyam Bhutani

Sanyam Bhutani

in

Data Science Network (DSNet)

Dominic Monn: DL Practitioner Interview #1

Amey Kumar Samala

Amey Kumar Samala

Scraping posts from FB public pages

Avishi choudhary

Avishi choudhary

Consider the following relation: R (A, B, C, D, E).

Everlytic

Everlytic

What to Consider When Building Automated Communication Workflows

Jan Steeman

Jan Steeman

RC1 ArangoDB 3.4 — What’s new?

AboutHelpTermsPrivacy


Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Kyle T

Kyle T

More from Medium

Festus Morumbasi

Festus Morumbasi

Working with dates on SQL — Practice Example 1 (Self Join)

Yiling Lee

Yiling Lee

SQL-Part5-Group by & Partition BY

DataGeeks

DataGeeks

Must know SQL Commands in Today’s World.

Dennis O.

Dennis O.

Top SQL Queries: Navigating Exploratory Data Analysis

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable