SQL Query Help Needed
2014-08-03, 12:41 AM,
#1
Hey,

for example:
Someone has 10 dollar on his account.
He purchases a 8 dollar product.

What is the SQL query to substract the 8 from his account?

Thanks for helping.
Reply
Share This Thread :

2014-08-03, 12:51 AM,
#2
it is rather easy , need two things , full database administration and website in php

for connection you need google help , get a code for database connection ,
it would give your php script database admin power

then,
get value from that column using: select price from table where id= this and this

then perform calculations , any

then use update query : Insert into

нα¢кιηg ιѕ ησт α ¢яιмє, ιѕ αη αят.
Reply
2014-08-03, 12:54 AM,
#3
(2014-08-03, 12:51 AM)cpa(newbie) Wrote: it is rather easy , need two things , full database administration and website in php

for connection you need google help , get a code for database connection ,
it would give your php script database admin power

then,
get value from that column using: select price from table where id= this and this

then perform calculations , any

then use update query : Insert into
I thought it was just a simple query, I used this method in C# once too, thanks for helping :D
Reply


Related Threads
Thread Author Replies Views Last Post
  Max Bounty/CPA with AdWords -- Help Needed grahammiranda13 6 309 2018-06-07, 04:20 AM
Last Post: grahammiranda13
  Needed help with cent os 7 PoS3!DoN 4 330 2018-03-31, 09:15 PM
Last Post: Innowebex
  Important YouTube Questions, EXPERIENCED answers needed :) Draguny 5 460 2018-03-27, 01:36 PM
Last Post: midastou4
  Help needed for Cloaking morgankrnskype 7 575 2018-03-19, 07:27 PM
Last Post: Ana_AdCombo
  Need Help~ MD5 hash Changer Needed BmasumBD 2 340 2018-02-24, 05:16 AM
Last Post: BmasumBD





About Us | Contact Us | CPA Elites | Advertise | Stats

© 2013-2018 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top