Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. gillyuk

    deleting rows from a table

    HI i have these two tables shown below. CREATE TABLE accounts ( account INTEGER NOT NULL, account_type ENUM('single','corporation')NOT NULL, last_trans_date DATE NOT NULL, minimum_balance DECIMAL(10,2) NOT NULL, balance DECIMAL(10,2) NOT NULL, PRIMARY KEY (account) ); CREATE TABLE transactions...
  2. gillyuk

    Someone please help me with lists

    i have been trying to find all possible combinations of a list given to me. This is the program i have at the moment but i can't see why it doesn't work. Please Could Someone help me. swap([],[]). swap([H|[H1|T]],[H1|[H|T1]]):- swap(T,T1). move(List,New):- swap(List,New1), New is...
  3. gillyuk

    All combinations of a list

    i have been trying to find all possible combinations of a list given to me. This is the program i have at the moment but i can't see why it doesn't work. Please Could Someone help me. swap([],[]). swap([H|[H1|T]],[H1|[H|T1]]):- swap(T,T1). move(List,New):- swap(List,New1), New is New1...

Part and Inventory Search

Back
Top