Login    Forum    Search    FAQ   Blog

Board index » Server Side Development » SQL




 Page 1 of 1 [ 1 post ] 



Author Message
 Post subject: How can i get a true or false status
 Post Posted: Tue Nov 17, 2009 12:07 pm 
Offline

Joined: Sat Feb 21, 2009 12:35 pm
Posts: 52
Hi,
I m usin 2 tables.
Code:
1.Newsletter
2. UserNewsLetter.


Newsletter tab UserNewsLetter tab
NewsID NewsletterName UserId NewsletterID

Code:
1 Newsletter1 1 1
2 Newsletter2 1 2
3 Newsletter3 2 1
4 Newsletter4 1 3


I need followin o/p 4 a userID 1

Code:
NewsID Status

1 True

2 True

3 True

4 False


I m in need to get NewsID nd Status 4 each user


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 1 post ] 




Board index » Server Side Development » SQL


Who is online

Users browsing this forum: No registered users and 2 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron