Search:

Type: Posts; User: william

Search: Search took 0.15 seconds.

  1. Replies
    6
    Views
    5,076

    Re: I trying to calculate total price.

    additionally to get the data from the rs.
    how I filled my Value Object.




    /* this is on my class variables */

    //my db tables is sessions
    private static final String COLUMN_ID ...
  2. Replies
    6
    Views
    5,076

    Re: I trying to calculate total price.

    There are many ways to program Java and SQL together, you can have the SQL functions do it for you or just gather all the data and write the program for calculation. You have your connection you...
  3. Replies
    6
    Views
    5,076

    Re: I trying to calculate total price.

    To get the total unit price you just multiply the two columns together. then add all the total unit prices together to have a sum() of unit prices.

    quanity * unit price = total unit price;...
Results 1 to 3 of 3