how to remove records from table?
no name
1 a
2 b
1 a
2 b
3 c

Answer Posted / pratap

delete from table name;
or truncate table name;

Is This Answer Correct ?    5 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

does sql support programming? : Sql dba

611


Can ddl statements be used in pl/sql?

598


Is grant a ddl statement?

453


Is big data nosql?

514


What are different sql data types?

516






Can you join views in sql?

545


How do I delete a trigger?

547


What are triggers and its types?

559


how to delete duplicate rows from a join tables(I have three tables on that join) how do you know which join is need to be used? The select statement I have is: SELECT gc_skill_type.skill_type, gc_area_tec.area, gc_technology.technology, gc_technology.id_technology, gc_area_tec.id_area_tec FROM gc_skill_type, gc_area_tec, gc_technology WHERE gc_area_tec.id_skill_type (+) = gc_skill_type.id_skill_type AND gc_technology.id_area_tec (+) = gc_area_tec.id_area_tec order by gc_skill_type.skill_type asc, gc_area_tec.area asc, gc_technology.technology asc

3253


Why function is used in sql?

524


how does a local variable is defined using t-sql? : Transact sql

548


What is a database? Explain

598


what are the different tables present in mysql? : Sql dba

506


What is oracle pl sql developer?

534


What is recursive join in sql?

553