0

How can one select a row from an SQL table in n-times?

Using two tables in the same database

13th Apr 2017, 9:47 PM
Temitope Olamilere
Temitope Olamilere - avatar
2 ответов
+ 4
You can join 2 tables to select rows with data from both tables Eg : consider 2 tables student_name and student_addrsss: student_name has the following columns roll_no, first_name, last_name student_address has the following columns roll_no, street_name, city_name When you run the following querry select * from student_name sn inner join student_address sa sn.roll_no = sa.roll_no You get columns from both tables: roll_no, first_name, last_name, roll_no, street_name, city_name
14th Apr 2017, 5:56 AM
Shraddha
Shraddha - avatar
0
I meant; selecting a row in 10times and proceed executing same query to another row. thanks Shraddha
14th Apr 2017, 6:18 AM
Temitope Olamilere
Temitope Olamilere - avatar