I am new to SQL. I have one banking project, in the in one table have values like this.
Type Amount
----- -------
Credit 5000
Debit 2000
Debit 1000........... so on
Now i need to Fetch these columns.Using Select Statement i can fetch, But i need to append '-' for amount which is Debited( like Debit '-2000'...) and '+' for Credited Amount.
How to append these functions in amount column Using Select Query. Kindly help me to solve this.