Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
A

AhmedGebaly

@AhmedGebaly
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Sql Problem
    A AhmedGebaly

    Id Credit Debit CurrentCredit Current Debit 51 21500 0 21500 0 52 0 21500 0 0 89 0 2150 0 2150 93 0 2140 0 4290 128 2140.5 0 0 2149.5 129 2151.5 0 2 0 171 0 1628 0 1626 190 1628 0 2 0 i have column of credit and debit and want to get columns of current credit and current debit example: 51. credit=21500 and debit=0 i have credit more than debit so this increase credit and decrease debit then current credit = 0+21500 52. credit=0 and debit=21500 i have debit more than credit so this decrease credit and increase debit then current credit =0 and current debit =0 89 credit=0 and debit =2150 i have debit more than credit so this decrease credit and increase debit then current credit =0 and current debit=0+2150=2150 93 credit=0 and debit =2140 i have debit more than credit so this decrease credit and increase debit then current credit =0 and current debit=2140+2150= 4290 and so on...

    Database database help tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups