Why do I only get the last Query? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why do I only get the last Query?

SELECT Username FROM usuarios; SELECT Password FROM usuarios;

16th Apr 2019, 1:44 PM
Martín Santiago P
Martín Santiago P - avatar
1 Answer
+ 1
In some sql like pgadmin/postgres only the last query will show the result. I see this problem too when there needed semicolons (;) at the end of query. Try sqlserver if you want all of your select statement running and give the results on result tabs.
17th Apr 2019, 11:39 AM
Andri Hry
Andri Hry - avatar