Re: category with parentid

2012-05-30 Thread HaidarPesebe
and also id (either cat or subcat) can be called - Original Message - From: "HaidarPesebe" To: "MySQL Lists" Sent: Wednesday, May 30, 2012 2:31 PM Subject: Re: category with parentid Hello ts. Tanaka, I've tried your way and succeed. Thank you. But I wa

Re: category with parentid

2012-05-30 Thread HaidarPesebe
Hello ts. Tanaka, I've tried your way and succeed. Thank you. But I want to ask your help again what if the result will be like this: A. Cat A - Subcat A - Subcat A 2. CatB - Subcat B possible by using or which the previous result is Cat A - SubcatA, SubcatA Cat B - SubcatB

Re: category with parentid

2012-05-27 Thread HaidarPesebe
Thanks for the information; I tried to call the database with something like this; select id,name from TABLE WHERE parentid='0' and a second call to the same table as this; select id,name from TABLE WHERE parentid='$id' (this $id is the result of calling the first call TABLE) and successful

category with parentid

2012-05-25 Thread HaidarPesebe
I have a database for the category id | name | parentid -- 1 | cat A | 0 2 | cat B | 0 3 | subcat A | 1 4 | subcat A | 1 5 | subncat B | 2 - I want to display the result like this: 1. Cat A - Subcat A - Subcat A 2. CatB -

Re: migrate existing data each additional product

2012-04-04 Thread haidarpesebe
rom: "HaidarPesebe" > > I asked for help, how to order that each time I add an item then the > item number in column 1 move to column 2, column 2 moves to the > column 3, column 3 to 4 and so on. > > product | 1 | 2 | 3 | 4 | total > [...] What a most peculi

Re: results from a total of always amount to a multiple of 3

2011-07-31 Thread HaidarPesebe
Exactly what you are saying Mr. Sándor. I tried adding a recordamount of debt then becomes a multiple of 4. Well I'm really confused. Are there any who can help? how to call the databaseby entering on the right? - Original Message - From: HaidarPesebe To: MySQL Lists

results from a total of always amount to a multiple of 3

2011-07-28 Thread HaidarPesebe
d| bsemester | remark | bqty(USD) - 1 | jon | 2010-2011| 1| paper| 7 2 | jon | 2010-2011| 1| mouse | 4 Thanks, Haidarpesebe __ Information from

Re: calculate the total amount of revenue each month-year

2011-06-19 Thread HaidarPesebe
I've tried it and succeeded. Thanks for the help Mr. Misra. Best regards, Haidarpesebe . - Original Message - From: "Aveek Misra" To: "HaidarPesebe" Cc: "MySQL Lists" Sent: Monday, June 20, 2011 11:28 AM Subject: Re: calculate the total amount

calculate the total amount of revenue each month-year

2011-06-19 Thread HaidarPesebe
Please help us calculate the total amount of revenue each month-year from the two databases below. The first database is the name of the item and price. The second database is the goods sold. I Will Make a recapitulation of every month to my total income (total only). I've always tried but faile

calculate the total revenue from the two databases

2011-06-17 Thread HaidarPesebe
Please help calculate the total revenue from the two databases below. The first database is the name of the item and price. The second database is the goods sold. I will make a recapitulation of every month to my total income (total only). I've tried tp always failed. TABLE A (item name and pr

Re: call the data if more than one id

2011-04-11 Thread HaidarPesebe
Thanks a lot. - Original Message - From: Claudio Nanni To: HaidarPesebe Cc: MySQL Lists Sent: Tuesday, April 12, 2011 12:55 PM Subject: Re: call the data if more than one id In (2,3,4) On Apr 12, 2011 7:53 AM, "HaidarPesebe" wrote: > please help m

call the data if more than one id

2011-04-11 Thread HaidarPesebe
please help me how to call the data if more than one id. Eg SELECT * FROM news WHERE id = 2, 3 and 4 Thanks. __ Information from ESET NOD32 Antivirus, version of virus signature database 6034 (20110411) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

Re: backfill results for the same month and year

2010-11-11 Thread HaidarPesebe
I've tried it and succeeded. thanks mark - Original Message - From: HaidarPesebe To: MySQL Lists Sent: Thursday, November 11, 2010 4:00 PM Subject: backfill results for the same month and year Dear All, I have the following data ID CITY QTY MONTH

backfill results for the same month and year

2010-11-11 Thread HaidarPesebe
2010 ID = ID PRODUCT. How can I backfill results with the same ID by month and year, with results like this: MONTH/YEARQTY TOTAL --- 11/201086 10/201066 and etc. Please help Thanks haidarpesebe

Re: select data from two tables and SUM qty of the same ID

2010-11-10 Thread HaidarPesebe
I tried this and succeeded. Thank you SELECT product_id, isbn, name, author, harga, discount, sum(qty) as totalqty FROM " . $prefix . "_sales_report b INNER JOIN " . $prefix . "_product p ON (p.product_id = b.bid) GROUP BY b.bid ORDER BY totalqty DESC haidarpesebe --

Re: select data from two tables and SUM qty of the same ID

2010-11-10 Thread HaidarPesebe
n 'product.product_id' in 'field list' Note: product_id (product) = bid (sales_report) haidarpesebe - Original Message - From: "Aveek Misra" To: "HaidarPesebe" Cc: "MySQL Lists" Sent: Wednesday, November 10, 2010 5:38 PM Subject: Re:

select data from two tables and SUM qty of the same ID

2010-11-10 Thread HaidarPesebe
please help us look for the data select from two tables with the following details: Primary table: product ID | ProductName | ISBN | --- 1 | Product A | 123 | 2 | Product B | 456 | 3 | product C | 444 | --- second table: salesreport

Re: select data from two tables and SUM qty of the same ID

2010-11-10 Thread haidarpesebe
Total_Quantity FROM salesreport, product WHERE product.ID = salesreport.ID GROUP BY salesreport.ID ORDER BY Total_Quantity DESC; On Nov 10, 2010, at 3:53 PM, HaidarPesebe wrote: > please help us look for the data select from two tables with the following > details: > > Primary ta

Re: from excel to the mySQL

2010-08-04 Thread HaidarPesebe
Thanks for your information, we have tried it and solve my problems. Thanks. - Original Message - From: Miguel Vaz To: HaidarPesebe Cc: MySQL Lists Sent: Wednesday, August 04, 2010 1:40 AM Subject: Re: from excel to the mySQL Hi, Ive always used navicat for mysql

Re: from excel to the mySQL

2010-08-04 Thread HaidarPesebe
do not insert bogus display names into the email display name (such as Vaz when your real name is haidarpesebe) most responsible mail-admins wont tolerate this type of spoofing or any type of email spoofing and if your name is VAZ use the email address created for VAZ instead of haidarpesebe

from excel to the mySQL

2010-08-03 Thread HaidarPesebe
Dear All, I'm needs a way to upload data from excel to the mySQL database. Dear all, I need help is how to upload data from excel columns and load into mysql database using php? Thanks HaidarPesebe

Re: Most data sort

2009-12-21 Thread HaidarPesebe
Dear Mr. Wang, I've tried and the results are in accordance with the intended. Your description is very brief and precise Thank you Mr. Wang. With best regard, Haidar Pesebe - Original Message - From: "HaidarPesebe" To: "Yang Wang" ; "MySQL Lists"

Re: Most data sort

2009-12-21 Thread HaidarPesebe
Thanks Mr. Wang, I will try and inform you again if have a problem. Best regard, Haidar Pesebe - Original Message - From: "Yang Wang" To: "HaidarPesebe" ; "MySQL Lists" Sent: Monday, December 21, 2009 5:22 PM Subject: Re: Most data sort sample as

Most data sort

2009-12-20 Thread HaidarPesebe
r the result will look like this A = 7 C = 6 B = 3 D = 1 Thanks a lot Haidarpesebe

select data from two table and will sort by price in second table

2009-04-28 Thread HaidarPesebe
'%$query%' or title LIKE '%$query%' or author LIKE '%$query%' for information id in bookcatalog and pricelist are same. thanks a lot Haidarpesebe