sql server - display in TextBox working with 3 table -


I have 3 tables as:  Enter image details here

I have a dropdown list and I want to display" LIBEL "(table 'grade') which is the table 'Evolutiongrade' (main Table) according to "PPR" in the 'Agent' table.

Working with SQL Server: This is my query, I do not know that this is correct, I have to display it in Table Grade in Libell Text box where grade codeodgrad = EvolutionGrade.codegrade (that Sort sommeting) according to the PPR in the table agent. Thank you

  Choose the codegread from the grade (where the code grade = (select the codegrain from the agent where PPR = @ PPR) update grade set Libell = @LLGLad = where the codegraad = (from Agent to Codegrad Select, where PPR = @PPR) is inserted into the grade (Libel) values ​​(@lblgrade)    

Why do you have 2 identical table columns? Primary keys should be different from other columns. No Eval_num?

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -