My Name Is Salman Masood , I am Computer Science &Amp; Maths Graduate from University of Karachi, Pakistan , Teaching Is My Passion and My Aim Is to Deliver All My Knowledge among Those Students Who Can'T Afford Tutors or Expensive Institute Fees. I Will Be Keep Sharing My All Knowledge and Information with You .... Remember Me in Your Prayers !
Monday, 11 December 2017
Learn Sql server in hindi/urdu part-23(one to one relationship)
create table car
(
car_id int identity primary key,
car_name nvarchar(20) not null,
car_model nvarchar(10) not null,
)
insert into car
values('Mehran','1980')
select * from car
create table employee
(
emp_id int identity primary key,
emp_name nvarchar(20) not null,
emp_desig nvarchar(20) not null,
emp_car_fk int unique foreign key references car(car_id)
)
insert into employee
values('ahmed','officer',2)
select e.emp_id,e.emp_name,e.emp_desig,c.car_id,c.car_model,c.car_name from employee e inner join car c on c.car_id=emp_car_fk
Subscribe to:
Post Comments (Atom)
Pass Dynamically Added Html Table Records List To Controller In Asp.net MVC
Controller Code: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using ...
-
Load event: pictureBox3.Image = Image .FromFile( @"C:\Users\salman\Documents\Visual Studio 2013\Projects\WindowsFormsApplication3\W...
No comments:
Post a Comment