What is the difference between showing and selecting. I assume when I select something it can be manipulated, but I may be wrong. I.e. SHOW columns FROM customers vs. SELECT * FROM customers. Is there a difference? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the difference between showing and selecting. I assume when I select something it can be manipulated, but I may be wrong. I.e. SHOW columns FROM customers vs. SELECT * FROM customers. Is there a difference?

SHOW vs. SELECT

12th Jul 2016, 10:13 AM
Tore Bjerkan
Tore Bjerkan - avatar
3 Answers
+ 2
We use show for our database and tables while select is for getting data within a table.
12th Jul 2016, 1:55 PM
PUNEET SINGH
PUNEET SINGH - avatar
+ 1
You may be using the SQL command line...but try it on real world applications... showing and selecting are similar yet different
12th Jul 2016, 7:25 PM
Vedant Patadia
Vedant Patadia - avatar
+ 1
like both of em are accessor commands...but selection command can also be used for subqueries indulging modifiers but not show
12th Jul 2016, 7:27 PM
Vedant Patadia
Vedant Patadia - avatar