Results 1 to 5 of 5
- 04-02-2008, 11:35 AM #1
Member
- Join Date
- Mar 2008
- Posts
- 13
- Rep Power
- 0
how to display the alerts in table
This is my table
Sno Close1 avg
1 150 110
2 210 175
3 110 150
its my table structure
i am comparing the close1 values with avg values
that is if close1>avg i want to display the message like "Good"
if close1<avg i want diplay the the message like"bad"
my final structure is
Sno Close1 avg result
1 150 110 bad
2 210 175 bad
3 110 150 good
how to write the qery for above table
if any body have idea please tell how to display the messages in table
- 04-02-2008, 11:40 AM #2
need SQL query or something else
Hello Geeta
do u need a SQL query to update the data in db or something else.?
- 04-02-2008, 12:48 PM #3
Member
- Join Date
- Mar 2008
- Posts
- 13
- Rep Power
- 0
i want message(good/bad) when the codition is satisfied/not satisfied in the table or i want alert it(good/bad) depends on te codition
- 04-02-2008, 03:22 PM #4
Hello Geeta,
I understand the bit about the good/bad message but are you looking for a SQL query to do this or are you looking to do this in Java?
Do you currently have any code extracting this data from the database?Did this post help you? Please
me! :cool:
- 04-04-2008, 06:45 AM #5
Member
- Join Date
- Mar 2008
- Posts
- 13
- Rep Power
- 0
Similar Threads
-
how to refresh the table when a new account is added and display instantly
By sravanthi narra in forum SWT / JFaceReplies: 4Last Post: 01-05-2008, 07:39 PM -
AWT Table Scrolling
By albert_kam in forum AWT / SwingReplies: 0Last Post: 01-03-2008, 11:37 AM -
Data formatting for the <display:table>
By yuchuang in forum Web FrameworksReplies: 3Last Post: 12-14-2007, 10:52 AM -
regarding to creating table.....
By daredavil82 in forum New To JavaReplies: 0Last Post: 11-18-2007, 04:55 AM -
Table Help
By CoOlbOyCoOl in forum NetBeansReplies: 1Last Post: 05-06-2007, 04:19 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks