answersLogoWhite

0

What is a sql sub query?

Updated: 8/16/2019
User Avatar

Wiki User

15y ago

Best Answer

It is possible to embed a SQL statement within another. When this is done on the WHERE or the HAVING statements, we have a subquery construct. The syntax is as follows: SELECT "column_name1"

FROM "table_name1"

WHERE "column_name2" [Comparison Operator]

(SELECT "column_name3"

FROM "table_name2"

WHERE [Condition])

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is a sql sub query?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

An SQL subquery can appear inside of another SQL subquery?

Yes, but more the levels of sub queries, the more would be the time taken to execute the query.


Can SQL be considered as a QUERY language?

The 'Q' and the 'L' in SQL standard for the words 'Query' and 'Language'. So yes. SQL can be considered a query language.


What does the acronym SQL stand for?

SQL stands for Structured Query Language as it refers to the type of database query or database server which accepts the query.


What is meant by sql?

sql stands for structured query language.


What is query in mysql?

Query is any command given to My Sql


Can you use SQL commands to modify queries created using the Simple Query Wizard in Access?

Yes. Once a query has been created in Access, you can go to SQL View and make changes to it.Yes. Once a query has been created in Access, you can go to SQL View and make changes to it.Yes. Once a query has been created in Access, you can go to SQL View and make changes to it.Yes. Once a query has been created in Access, you can go to SQL View and make changes to it.Yes. Once a query has been created in Access, you can go to SQL View and make changes to it.Yes. Once a query has been created in Access, you can go to SQL View and make changes to it.Yes. Once a query has been created in Access, you can go to SQL View and make changes to it.Yes. Once a query has been created in Access, you can go to SQL View and make changes to it.Yes. Once a query has been created in Access, you can go to SQL View and make changes to it.Yes. Once a query has been created in Access, you can go to SQL View and make changes to it.Yes. Once a query has been created in Access, you can go to SQL View and make changes to it.


Can i get a SQL Certification online?

You can obtain an SQL certificate online. Simply query online SQL certificaiton.


What is syntax errors in sql server 2005?

wrong sql syntax in your query


What are some examples of SQL?

SQL is short for Structured query language. Examples of SQL are seleect * from table_name where <predicates>;


Forms of sub queries in ms sql?

Sql Forms Sql Forms


What are the main function in sql?

SQL (Structured Query Language) is a language used in a SQL server to manage data (Query the data, insert, Update, Delete) as well as perform data manipulation (calculations, etc)


What is the general format of an SQL query?

In general, SQL "statements" have a Select "clause," a From "clause," and a Where "clause."