Which one of the following is the correct way to select all
columns and all rows from "vtable"?
Choice 1
SELECT FROM vtable SELF JOIN vtable
Choice 2
SELECT ALL COLUMNS FROM vtable WHERE ALL ROWS = *
Choice 3
SELECT EVERYTHING FROM vtable
Choice 4
SELECT vtable.* WHERE vtable = vtable
Choice 5
SELECT * FROM vtable WHERE 1 = 1
Answers were Sorted based on User's Feedback
Why do we write stored procedures?
What is slow query log in mysql?
Where’s database data actually stored? Is there a way to see the files which are stored?
Can we store files in mysql?
what is collation? how many types of installations in sql server?
How do you kill a long running query in mysql?
What is the difference between myisam dynamic and myisam static in mysql?
What are enums used for in mysql?
Write a query to find duplicate rows in table?
What is processlist in mysql?
How to store values to array from mysql database in php?
What is join in mysql? What are the different types of join?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)