write a query to delete similar records in different tables
with same structure
Answer Posted / vinoth kumar
DELETE FROM table1 WHERE
(col1,col2,..) IN (SELECT col1,col2,.. FROM table2 where
condition)
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is the difference between functions, procedures, and packages in pl/sql?
Write the command to remove all players named sachin from the players table.
what is the maximum length of a table name, database name, and fieldname in mysql? : Sql dba
Which table is left in left join?
Explain the uses of control file.
what is the command used to fetch first 5 characters of the string? : Sql dba
what are myisam tables? : Sql dba
Table A Table B 1 1 2 1 3 1. Union & union all --> A Union B , A Union all B 2. Minus , Intersect --> A minus B , B Minus A , A Intersect B 3. Joins A join B , A Left Join B A Right Join B , A full Join B 4. %Type - Uses & Benifit 5. Truncate & Delete 6. Pragma Autonomus Transaction 7. how to Perform DDL from function or procedure 8. Can we have DML inside Function 9. Rank & Dense Rank diffrence 10. Water Mark in Oracle 11. Index , Can we have index in all column of table if no then why ?
What are the types of triggers in sql?
Explain lock escalation? : Transact sql
Is sql scripting language?
What is snowflake sql?
How do you declare a user-defined exception?
What is the difference between view and stored procedure?
What are the parameter modes supported by pl/sql?