Question: Database SQL, Using the BANK database write and execute the following SQL statements: 1. Change all CITY to Uppercase. 2. Display the customer number followed

Database SQL, Database SQL, Using the BANK database write and execute the following SQL

Using the BANK database write and execute the following SQL statements: 1. Change all CITY to Uppercase. 2. Display the customer number followed by fname followed by 'has card number' followed by card_no. 3. Display the value ' 595.5416 ' rounded to 1,0,1, and 2 decimal places. 4. Display Acc_Type in lowercase. 5. Display the current date in this format (2022-08-16). 6. Change all accounts balances that have zero value to null. 7. Display all information from the accounts table after adding 100 to all account balances. 8. By using the name " Ramiz Ahmed Al-Masry ", print the last part of the name. Note: You must use substr, instr, and trim function

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!