In SQL (*)all field where is used
Answers
Answered by
0
it is used where u want to get all rows or can say data satisfied to a criteria.
for example i want all students who got total marks greater than 400
so
select * from students where total_marks > 400
it will return all students satisfying the criteria.
its also used with count to get total number of such data. for example to get count of above query i have to use
select COUNT(*) from students where total_marks > 400
Similar questions
Computer Science,
7 months ago
Computer Science,
7 months ago
Physics,
7 months ago
Sociology,
1 year ago
Math,
1 year ago