how can ur insert the emp table
Answers were Sorted based on User's Feedback
Answer / kumar
Alredy We are having the emp table in our database at the
time only we can insert the data otherwise not possible.
We can insert the data into emp table into 2 ways by using insert command.Two syntax of insert command given below
1.insert into tablename values(<values list>)
2.insert into tablename(<column list>) values(<spcified column values >)
Is This Answer Correct ? | 36 Yes | 0 No |
Answer / ammuk221
insert into emp values(serialno,'emp
name','hiredate',emppost,salary,deptno,commission);
Is This Answer Correct ? | 12 Yes | 7 No |
Answer / madhav
BY USING 'ON THE FLY TABLES'
CREAT TABLE EMPLOYEE AS SELECT * FROM EMP WHERE 1=2;
(FOR TABLE STRUCTURE)
-----TO INSERT THE EMP TABLE VALUES-------
INSERT INTO EMPLOYEE(SELECT * FROM EMP);
(INSERT THE EMP TABLE DATA)
SELECT * FROM EMPLOYEE;
-----------ALL THE BEST-------------
Is This Answer Correct ? | 0 Yes | 0 No |
How do I repair damaged sql server mdf file database? In previous day my mdf file has got damage due to unknown reasons then I used dbcc chekcdb command but it failed, MDF file is important for me, I don’ know that how to get back mdf file data. Please anyone suggest me?
Explain syntax for viewing trigger?
Is mysql the same as sql server?
How do I start sql server 2016?
What are rows and columns?
How to find the latest updated value in a table without sending any parameters to that query
What is a unique key constraint?
write sql program to get the detail of student in a class?
How to join two tables in a single query in ms sql server?
there is a table having two columns no and name and the data is 1 A 2 B 3 C write a query that will result a horizontal output A,B,C
What is create command?
What is simple indexing method?