answersLogoWhite

0

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

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

Which construct in SQL is used to test whether a subquery has any tuples in its result?

Exists


What is a sql sub query?

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])


What is single row subquery in sql?

a single row subqury is a query which will return a single row and single column


Write a SQL statement to show the warehouse and average QuantityOnHand of all items stored in a warehouse managed by 'Smith' Use a subquery?

SELECT Warehouse, AVG(QuantityOnHand) AS QuantityOnHand FROM INVENTORY WHERE Warehouse IN (SELECT Warehouse FROM WAREHOUSE WHERE Manager = 'Smith') GROUP BY Warehouse;


Which is the in-built to know the partition details for a given data inside SQL Server?

$PARTITION


Which Oracle software uses SQL server tools?

SQL Server Tools are tools for the Microsoft SQL Server (MSSQL). Oracle is another company that develops database systems and offer Oracle tools to manage Oracle databases.


Can we use SQL for java language?

No. SQL stands for Structured Query Language and that in itself is a language and it is totally different from Java. However, you can use SQL queries inside Java code with the help of JDBC (Java DataBase Connectivity). But the Java compiler cannot understand/compile standalone SQL syntax unless it is used as part of JDBC.


Definition of cross join in sql server?

Cross Join is jsut another Join


Where could someone find an SQL formatter?

One can find an SQL formatter from: SQL Format, Free Formatter, Poor SQL, T-SQL Tidy, Stack Overflow, SQL Inform, Apex SQL, SQL Parser, Red Gate software, to name a few.


What is the difference between T-sql and sql?

T-SQL is Microsoft's version of the generic SQL langauge to be used with, for example, Microsoft SQL Server.


What is an inline view?

An inline view is where you can use a SQL from inside an outer select. Select * From (select fields from view)


Forms of sub queries in ms sql?

Sql Forms Sql Forms