C#, SQL Server, WCF, MVC and ASP .NET video tutorials for beginners
In this video we will discuss about subqueries in sql server. Let us understand subqueris with an example. Please create the required tables and insert sample data using the script below.
Create Table tblProducts
(
[Id] int identity primary key,
[Name] nvarchar(50),
[Description] nvarchar(250)
)
Create Table tblProductSales
(
Id int primary key identity,
ProductId int foreign key references tblProducts(Id),
UnitPrice int,
QuantitySold int
)
Insert into tblProducts values (’TV’, ’52 inch black color LCD TV’)
Insert into tblProducts values (’Laptop’, ’Very thin black color acer laptop’)
Insert into tblProducts values (’Desktop’, ’HP high performance desktop’)
Insert into tblProductSales values(3, 450, 5)
Insert into tblProductSales values(2, 250, 7)
Insert into tblProductSales values(3, 450, 4)
Insert into tblProductSales values(3, 450, 9)
Write a query to retrieve products that are n
1 view
0
0
2 months ago 03:39:43 1
Полный курс Sqlite - работа с базами данных SQL для новичков
3 months ago 00:04:12 1
Filament Star-Rating with Laravel SubQueries
5 months ago 19:23:46 1
Data Analyst Bootcamp for Beginners (SQL, Tableau, Power BI, Python, Excel, Pandas, Projects, more)
5 months ago 00:29:47 1
Query Optimization Techniques - Tips For Writing Efficient And Faster SQL Queries
8 months ago 00:09:42 1
SQL Tutorial #13 - SQL EXISTS and NOT EXISTS Operator
10 months ago 15:18:23 2
IBM Data Analyst Complete Course | Data Analyst Tutorial For Beginners,
12 months ago 00:24:47 1
SQL для анализа данных за 30 минут. Разбор на реальной базе данных.