Hi,
I want to add one employee id get only one user name .
what is the sql query need for this?
And if user name get of this employee id
sql give message .
how it is possible ? please help me.
One employee id have only one user name
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Abhay ShankerRank #375 · 6.7K reputationPosted Nov 6, 2014, 6:56 PM EST
Pulak deb92 reputationPosted Nov 7, 2014, 1:24 AM EST
user_id int(primary key)
employee_id nvarchar(50)(foreign key)
user_name nvarchar(50)
password nvarchar(50)
creation_date date
employee registration table
employee_id int(primary key)
faculty_type nvarchar(50)
first_name nvarchar(50)
last_name nvarchar(50)