|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
select luser.userid,luser.firstname,luser.lastname from luser
where luser.Pos = 'Teacher'and luser.userid not in (select sectionuser.userid from sectionuser where sectionuser.courseid = '204105'and sectionuser.SectionID = '1' and sectionuser.Semester = '2') ORDER BY luser.UserID this query i can use in other database server but i can't use in MySQL version 4.0.2-alpha-nt please!!! help me to convert my query can use in MySQL ....thank |
|
#2
|
|||
|
|||
|
hi jantichap
You cannot execute subqueries in MySQL, if you are using this query in a program you need to breakup the query in two parts, one will collect userid and pass it to other query. |
![]() |
| Viewing: Dev Articles Community Forums > Databases > General SQL Development > Help me query please!!!! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|