--To get language details:
SELECT title, period, syllabus
FROM Second
WHERE Name = 'Language' --replace language with Maths here to get maths subject details
--To get details from table1 and table2
SELECT s.title, s.period, s.syllabus, r.year
FROM Second s INNER JOIN First f
ON f.Name = s.Name
WHERE Name = 'Language' --replace language with Maths here to get maths subject details
manpreet
Best Answer
2 years ago
I have two tables like this,
Second table,
And the result Should be,
Second table result is base on the first table name..
Can anyone help me in python with mysql? i'm very to python..