SQL question | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

SQL question

At the conclusion of a bank transaction, 6 checks are printed -- 3 originals for the bank, and 3 copies for the customer. Here is the list of all the checks named Operation and what am i doing wrong no critics pls im noob my code: SELECT DISTINCT checks, Check1, Check2, Check3, Check1, Check2, Check3 FROM check;

9th Mar 2021, 3:07 PM
Max White
Max White - avatar
9 Answers
+ 2
SELECT DISTINCT checks from operation;
9th Sep 2021, 4:09 AM
Kyle Sabat
Kyle Sabat - avatar
+ 1
This Is the Answer : SELECT DISTINCT checks FROM Operations ORDER BY checks ASC
24th Jan 2023, 10:32 AM
Neha Dipak Shinde
Neha Dipak Shinde - avatar
0
Max White is your problem solved??
11th Mar 2021, 5:04 AM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar
0
thnks kyle
18th Sep 2021, 5:57 AM
Reza Alif Anugrah
Reza Alif Anugrah - avatar
0
SELECT DISTINCT Checks FROM Operation
29th Jul 2022, 5:04 PM
Itumeleng Lephondo
0
SELECT DISTINCT checks from operation;
13th Oct 2022, 4:18 AM
Tabrez
0
SELECT DISTINCT operations.checks FROM Operations ORDER BY checks
15th Dec 2022, 11:02 PM
Olga Lorents
Olga Lorents - avatar
- 1
Can you share the screenshot of that problem, so we can assist you in more better way
10th Mar 2021, 5:17 AM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar
- 1
Hey its so simple you need to just do this select DISTINCT checks from operation; Check1,check2.... Are the values for example purpose not to add in your code.
10th Mar 2021, 9:56 AM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar