Ask about looping in database

Ads
 

Ask about looping in database

Good afternoon, I want to ask something, Now i have 2 tables,name of the table is RULE and Heritage.

Table heritage= name of field code and name,value like this ==>

| no | code | name |

| 1 | A1 | BOY |
| 2 | A2 | Mother |

| 3 | A3 | Nephew |

and Rule = code, rule and rights . value like this ==>

| no | code | rule | rights |

| 1 | A1 | If A1= False and A2 = True | 1/2 |
| 2 | A2 | If A1= True and A2 = False and A3=True | 1 |
| 3 | A2 | If A1= True and A2 = False | 1/8 |
| 4 | A3 | If A1= True and A2 = False | 1/2 |

| 5 | A3 | If A1= True and A2 = True | 1 |

note : for rights A1 = 1/2 = if A1=False and A2=True, for rights A2 = 1 = if A1=True, A2=False and A3=True A2 = 1/8 = if A1=True, A2=False for rights A3 = 1/2 = if A1=True,A2=False A3 = 1 = if A1=True,A2=True

 : code is the same data Rule and Heritage.

I want to ask that how to read looping in field rights(if A1=false and A2 = True), use from java. i want to call rights looping with code program from java. i read from datatase like this. i need help , Thank's, Hendra**

View Answers

Ads









Related Tutorials/Questions & Answers:
Ask about looping in database
Ask about looping in database  Good afternoon, I want to ask...=True,A2=True : code is the same data Rule and Heritage. I want to ask that how to read looping in field rights(if A1=false and A2 = True), use from java. i
Ask about java
Ask about java  Create a java program for add and remove the details of a person, which is not using by database, a simply java program. If possible, please wil it in switch case
Advertisements
About Database
About Database  in my database i enter the date of birth as Birth_Date date but i dont know in which format we can mention the date of birth   In MySQL database, date should be entered in the following format: yyyy-mm
looping
looping   sum of the series s=1+2/1*2
looping ..
looping ..  can i get coding for get the following output: (using looping) 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144
question about database
question about database  sir i have made a drop down button using html..now i want to retrieve values from database so that they my appear in my drop... their values from database so that they appear in drop down i have made
About DataBase Connectivity
About DataBase Connectivity  I want a simple code in which is like two tier application one system have data base and application is running on other system. Pls inform the way hoe to connect both system {I want to run
About DataBase Connectivity
About DataBase Connectivity  I want a simple code in which is like two tier application one system have data base and application is running on other system. Pls inform the way hoe to connect both system {I want to run
About connection database oracle to java
About connection database oracle to java  Hi I culdn't connect oracle datebase to java.when i compile the program it is ok.but when i clicked on sql it asked user ID and Password .so for ID i typed scott and password as tiger
About connection database oracle to java
About connection database oracle to java  Hi I culdn't connect oracle datebase to java.when i compile the program it is ok.but when i clicked on sql it asked user ID and Password .so for ID i typed scott and password as tiger
About connection database oracle to java
About connection database oracle to java   I culdn't connect oracle datebase to java.when i compile the program it is ok. but when i clicked on sql it asked user ID and Password .so for ID i typed scott and password as tiger
About connection database oracle to java
About connection database oracle to java   I culdn't connect oracle datebase to java.when i compile the program it is ok.but when i clicked on sql it asked user ID and Password .so for ID i typed scott and password as tiger
About connection database oracle to java
About connection database oracle to java  **Hi I culdn't connect oracle datebase to java.when i compile the program it is ok.but when i clicked on sql it asked user ID and Password .so for ID i typed scott and password
Question about "Insert text file data into Database"
Question about "Insert text file data into Database"  Hey I was reading the tutorial "Insert text file data into Database", (awesome btw), and noticed that both a FileInputStream, a DataInputStream and a BufferedReader
Flex Looping
Flex Looping  I need example for flex looping mechanisam example
Looping Statements in java 7
Looping Statements in java 7 In this section, we will discuss about Looping Statements in java 7. This is one type of control flow statement. Looping... of statements repeatedly. Following are three types of Looping statements
looping with strings
looping with strings  how to print this w we wel welc welco with loop?   import java.util.*; class StringExample3 { public static void main(String[] args) { Scanner input=new Scanner(System.in
looping
shape looping
shape looping  can some1 help me?i have to make a shape using "*" by looping...and i dun know how...please and thank you * **   java diamond shape: public class Diamond{ public static void main(String[] args){ int
ModuleNotFoundError: No module named 'looping'
ModuleNotFoundError: No module named 'looping'  Hi, My Python... 'looping' How to remove the ModuleNotFoundError: No module named 'looping... to install padas library. You can install looping python with following command
ModuleNotFoundError: No module named 'looping'
ModuleNotFoundError: No module named 'looping'  Hi, My Python... 'looping' How to remove the ModuleNotFoundError: No module named 'looping... to install padas library. You can install looping python with following command
ModuleNotFoundError: No module named 'looping'
ModuleNotFoundError: No module named 'looping'  Hi, My Python... 'looping' How to remove the ModuleNotFoundError: No module named 'looping... to install padas library. You can install looping python with following command
looping programm of sum
looping programm of sum  s=1+2/12+1+2+3/12*3+1+2+3+..... n
ModuleNotFoundError: No module named 'anaharid-looping'
ModuleNotFoundError: No module named 'anaharid-looping'  Hi, My... named 'anaharid-looping' How to remove the ModuleNotFoundError: No module named 'anaharid-looping' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'anaharid-looping'
ModuleNotFoundError: No module named 'anaharid-looping'  Hi, My... named 'anaharid-looping' How to remove the ModuleNotFoundError: No module named 'anaharid-looping' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'looping_list'
ModuleNotFoundError: No module named 'looping_list'  Hi, My Python... 'looping_list' How to remove the ModuleNotFoundError: No module named 'looping_list' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'looping_list'
ModuleNotFoundError: No module named 'looping_list'  Hi, My Python... 'looping_list' How to remove the ModuleNotFoundError: No module named 'looping_list' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'looping_list'
ModuleNotFoundError: No module named 'looping_list'  Hi, My Python... 'looping_list' How to remove the ModuleNotFoundError: No module named 'looping_list' error? Thanks   Hi, In your python
looping through a list of methods
looping through a list of methods  I have a number of methods that do the almost same thing: public void setColorRed (int colorvalue); public void setColorYellow (int colorvalue); public void setColorBlue (int colorvalue
Ask Servlet questions online
Ask Servlet questions online       Feel free to ask any question about servlets... kicked off a new service ‘ask questions’ to resolve your query
database
database  tell me use about database and give me a small program.   It is secure and can easily be accessed, managed, and updated. Moreover... links: Connect JSP with database Mysql Connect Java with database Mysql

Ads