Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > MySQL
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
MySQL General discussion about the MySQL database.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the MySQL section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 23rd, 2007, 01:44 PM
Registered User
 
Join Date: Sep 2006
Location: Lake Worth, FL, USA.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default mysql #1064 error

If I execute this command in my pc running netserver it works, but when I try to execute it at the university server it gives me the syntax error:

SELECT pd.pd_id, pd.pd_name, pd.pd_price, pd.pd_thumbnail, pd.pd_qty,
                c.cat_id, o.od_id, o.pd_id
        FROM tbl_product pd, tbl_category c , tbl_order_item o
        WHERE (pd.cat_id = c.cat_id) AND (pd.pd_id = o.pd_id)
                and c.cat_parent_id IN (select cc.cat_parent_id from
                tbl_category cc WHERE cc.cat_id = 19)
        ORDER BY pd.pd_name;

What is wrong?

Armando
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
1064 error kennymain MySQL 0 July 16th, 2005 03:19 PM
error in placing mysql.h jl_joanne Visual C++ 3 February 18th, 2005 07:09 PM
error 1064 SQL syntax puzzle ericwright Beginning PHP 5 April 24th, 2004 09:20 PM
Weird MySQL error cmiller PHP Databases 3 April 6th, 2004 04:08 AM



All times are GMT -4. The time now is 07:25 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.