What is the difference between view and select in SQL? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is the difference between view and select in SQL?

29th May 2017, 6:22 AM
Mohammad Adnan
Mohammad Adnan - avatar
2 Answers
+ 1
SELECT creates temporary table for conditions you specified, and if you want to see the same table again you need to call SELECT with the same conditions all over again VIEW creates and saves your query under a name, so when you need it, you can access it by just calling it's name - much faster and easier, you don't need to specify any of the conditions
29th May 2017, 7:00 AM
Lana
Lana - avatar
29th May 2017, 6:39 AM
Kuba Siekierzyński
Kuba Siekierzyński - avatar