ok tell me this one query then i will show you some data
std_inf has only 1 column name std_code number(8)
PHP Code:
insert into std_inf values((select * from std_info where std_class=10));
it says sub query returns more than one row cause std_class 10 has 4 student in class 10 i want to put his code number in the table std_inf