When we should use * | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

When we should use *

after select where we should use *

24th Aug 2017, 3:31 AM
aastha
5 Answers
+ 12
when you want 'any', and don't want a specific result
24th Aug 2017, 3:52 AM
Ahri Fox
Ahri Fox - avatar
+ 3
select * from <table name> ; to display all records/rows/tuple of a table
24th Aug 2017, 4:36 AM
Changed
Changed - avatar
+ 2
Also as a parameter for aggregation functions like: select count(*) from table;
30th Aug 2017, 4:39 AM
Kirk Schafer
Kirk Schafer - avatar
0
to select aalll.columns
24th Aug 2017, 5:43 AM
Dharminder Singh
Dharminder Singh - avatar
0
You can use it when u want to select all the columns
24th Aug 2017, 2:12 PM
Raul Gutiérrez
Raul Gutiérrez - avatar