what is query? is there any basic explanation for queries and sub queries? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

what is query? is there any basic explanation for queries and sub queries?

3rd Oct 2016, 6:37 PM
Amith MG
Amith MG - avatar
6 Respuestas
+ 4
A query is simply a statement you execute on a database. A sub-query is a nested query.
3rd Oct 2016, 10:59 PM
Mythos
+ 2
Query is like a question on the database
4th Oct 2016, 3:46 AM
Pavankumar V
Pavankumar V - avatar
+ 2
Query is a command for the Database to do something. Subquery is a query within another query embedded within the WHERE clause.
4th Oct 2016, 4:34 AM
Isuru Prabath
Isuru Prabath - avatar
0
In easy terms Query is just like enquiring the database
4th Oct 2016, 6:56 AM
Rakesh
Rakesh - avatar
0
A query is a statement which u give and the subqueries are queries inside the query.
4th Oct 2016, 2:38 PM
S.Akbar Sheriff
0
A good example of query might be Select * From [Table_Name] And a query with a subquery might be Select * From [Table_Name] => query Where [Column_Name or condition u wanna apply] IN (Select [column_Name] From [Table_Name] and a Where statement if you wanna apply any condition) => Subquery The subquery is between the comma i know sometimes as programmer is better to see the code than the meaning to have a better understanding. Hope its help u out
15th Oct 2016, 1:18 PM
Moise Jean
Moise Jean - avatar