Jump to content
Sign in to follow this  
angah_long

Sql Query

Recommended Posts

salam..

mohon bantuan otai2 dalam menyelesaikan permasalahan ini...kenapa bile execute je both query ni menghasilkan result yang berbeza2..?

select s.studentstatus, s.studentid, s.hutang, a.success, s.blacklist, a.cancel,semestercode

from student s, apartmentapplication a

where s.studentid = 'AA1235'

and s.studentid *= a.studentid

and a.cancel =0

and a.semestercode = '2008/9s1'

select s.studentstatus, s.studentid, s.hutang, a.success, s.blacklist, a.cancel,semestercode

from student s left join apartmentapplication a on s.studentid = a.studentid

where s.studentid ='aa1235'

and a.cancel = 0

and a.semestercode = '2008/9s1'

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...