sql - how to add more rows to a existing table -


There are many columns in the table trainer for column only name Want to add more values ​​and get the value table from student The condition is that the student's name with tot_cred & gt; 100 is chosen My attempt is down but this error returns back. How can I solve this problem?

Update Instructor Set ID = (Choose ID from student where tot_cred & gt; '100');

The error is that

returned more than the subkey1 value. When subquery =,! =, & Lt;, & lt; =,>,> = Or when the subquery is used as an expression is not allowed.

  update trainer set a.name = (student name name) Where id = a.id) where exists (where the student 'Select' id is = A.id and tot_cred & gt; '100');  

Comments

Popular posts from this blog

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

c# - WPF Expander overlay used in ItemsControl -

android - how to get distance of 2 beacons and make a condtion base on that distance -