Hello,
I needed some help on how to set records that where cancelled. Here is the table (Orders) and the relevant fields:
Orders
Order_ID (VARCHAR(25))[/*]Cancelled (BIT)[/*]
Using the Order_ID, what I need to do is to find any orders that were cancelled and its corresponding original...
Hello,
I wanted to know what would be the best way to update a field of a row while I am inserting. Here are the tables and fields (for simplicity I am only including relevant fields):
• firms
⁃ firm_id (integer, autoincrement, primary key)
⁃ firm_code (varchar(25), internal code)
⁃ name...
Hello,
I am trying to generate a summary report using various aggregate functions: MIN, MAX, SUM, etc. The issue I have is when I try to get a MIN and MAX of a field when I am also using the case statement. I am unable to get the MIN value of a field when I am using the case statement. I...
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.