Reply to Communication betwee two tables

Your name:

Reply:


Posted by lucky on 10/01/96 11:42

Hai,

I am having a query that i want to communicate two tables that
is one is school table & other is class table as shown below


school table:
Class strength
LKG 30
UKG 40


class table:(LKG)


Rollno name
1 rohit
2 baba

Now my query is that as i defined strength of the LKG class as 30 if i
insert 31 i need to get error that not to enter. That implies that when
i am going to enter 31 student in LKG table it should not accept from
the data corresponding to the school table is it possible if it say the
coding as i am new to SQL plz help me in coding.

thanks,
lucky.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация