0
The number of coursecode should be less than 2. This is the main part that I have problem. Not the retrieving part. I cannot check (less than). (<) is cannot use in joining tables.
0
var dealercontacts = from course in Course
join Tr in Training on course.IdNo equals Tr.IDNo
where tr.Nationality='American'
select count(*);
Hope This Might Help You
0
In Course Table
-Idno.
-Coursecode
and other information
In training table
-Idno.
-name
-Nationality
and other information
Other infomation is not important to retrieve........
0
Kindly give a snapshot of table structure..
0
Can You please give your table structure in details?
-1
select idno,count(idno) from trainningtable where nationality='american' group by idno