SQL Basics : SQL Subquery

Pubblicato il: 22 ottobre 2022
sul canale di: TechVeda
67
4

In this video I have explained SQL subquery and also provided below the script and description for the same.


--SQL SubQueries

--Query Within another query
--Outer query (Left side) is called main and inner query (Right side) is called subquery
--We can use operator such as equals, greater than, less than etc
--First subquery gets executed
-- We can not use order by with subquery

SELECT * FROM Employee
SELECT * FROM Department

SELECT * FROM Employee
where DeptId in(SELECT DeptId FROM Department)


In questa pagina del sito puoi guardare il video online SQL Basics : SQL Subquery della durata di ore minuti seconda in buona qualità , che l'utente ha caricato TechVeda 22 ottobre 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 67 volte e gli è piaciuto 4 spettatori. Buona visione!