I have three tables. The designs were like
student table
create table student (studID int not null primary key AUTO_INCREMENT,
StudName varchar(20),
Parent varchar(20),
PhoneNo int not null
)
Course table design
create table Course (CID int not null primary key AUTO_INCREMENT,
CName varchar(20))
studCourse table design
create table studCourse(studID int not null
,CID int not null
)
How can i make a view which displays the student’s name and the course which he is studying for?
You can create a View from a query with a JOIN, something like this should work :