I am trying to take all values/columns from one table and combine it with all values/columns from another table. I tried the this:
INSERT INTO table1(*) select * from table2
but it didn't work...can anyone help me out?
Thanks!
I am trying to create a query that will subtract the current row of a column from the previous row, and if the value is negative, just return the value of the current column in the result column. For example, if I had the table below, here are the results I would like to see:
Key value...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.