Application of subtracting numerical values ​​in different tables
P粉854119263
P粉854119263 2023-08-28 19:28:28
0
1
376
<p>I have two tables:</p> <pre class="brush:php;toolbar:false;">Table A ID Number Profile 1 100 Baker 2 75 Fields 3 100 Wayward Table B ID Number Tag Sender 1 50 on chris 2 50 off james</pre> <p>I am trying to subtract values ​​with the same ID number from table A and table B</p> <pre class="brush:php;toolbar:false;">Table C ID Number 1 50 2 25</pre></p>
P粉854119263
P粉854119263

reply all(1)
P粉465287592
SELECT A.ID,A.NUMBER-B.NUMBER DIFF
FROM TABLE_A AS A
JOIN TABLE_B AS B ON A.ID=B.ID
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template