473,406 Members | 2,710 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Query error

werks
220 100+
Please help me on this error in query.

Expand|Select|Wrap|Line Numbers
  1. select `q`.`AccessionNo` AS `AccessionNo`,`q`.`CallNo` AS `CallNo`,`q`.`Title` AS `Title`,`q`.`Authors` AS `Authors`,concat(`q`.`Publisher`, ', ', `b`.`PlaceOfPublisher`, ', c', `b`.`Copyright`) AS `Publication`,`q`.`Remarks` AS `Remarks`,`b`.`ISBN` AS `ISBN`,concat(`b`.`Volume`, ', ', `b`.`Pages`) AS `Description`,
  2.  
  3. concat(`s`.`Subject1`, ', ', `s`.`Subject2`, ', ', `s`.`Subject3`, ', ', `s`.`Subject4`, ', ', `s`.`Subject5`, ', ', `s`.`Subject6`, ', ', `s`.`Subject7`, ', ', `s`.`Subject8`) AS `Subject`,`q`.`Copy` AS `Copy`,`q`.`Publisher` AS `Publisher` from 
  4.  
  5. ((`qrybooks` `q` join `tblbooks` `b` on((`q`.`AccessionNo` = `b`.`AccessionNo`))) join `tblsubject` `s` on((`b`.`TitleID` = `s`.`SubjectID`))) order by `q`.`AccessionNo`)
  6.  
It is somewhere in the bold part..
--
Kenneth
"Better Than Yesterday"
Feb 16 '08 #1
3 782
werks
220 100+
This is the error

Error Code : 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 5
(0 ms taken)
Feb 16 '08 #2
ronverdonk
4,258 Expert 4TB
All I can see from this melee is that you have 9 opening parentheses and 10 closing parentheses, i.e.

line 1: 2-2
line 3: 1-1
line 5: 6-7

Start there.

Ronald
Feb 16 '08 #3
werks
220 100+
tnx.. fixed it

--
Kenneth
"Better Than Yesterday"
Feb 19 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Polar | last post by:
I am having troubles finding the parse error in this script. I've been checking for weeks. I am too new to the subject I guess. I am trying to show a readord and them have a form at the bottom...
10
by: johnnyboy10017 | last post by:
I am having a hell of a time with what I think is a very simple query: It won't actually insert a new record into the specified table, but returns no error, in fact it returns "1" (or true) that...
2
by: jaysonsch | last post by:
Hello! I am having some problems with a database query that I am trying to do. I am trying to develop a way to search a database for an entry and then edit the existing values. Upon submit, the...
3
by: Nick Truscott | last post by:
<? // scoreinput.php - input a match score when match selected from list ?> <html> <head> <basefont face="Verdana"> </head> <body>
2
by: Mattyboy | last post by:
Guys I have built a database with saved queries that runs fine in Access but when I call it from the web using ASP, an exception occurs. I have tried multiple ways of testing the databases with...
6
by: Martin Lacoste | last post by:
Ok, before I headbutt the computer... don't know why when I add criteria in a query, I get an 'invalid procedure call'. I also don't know why after searching the help in access, the various access...
4
by: Alan Lane | last post by:
Hello world: I'm including both code and examples of query output. I appologize if that makes this message longer than it should be. Anyway, I need to change the query below into a pivot table...
4
by: deko | last post by:
When using OutputTo with a query, the 'File name' window in the 'Output To' dialog gets populated with the name of the query by default. This makes the exported file self-describing if the query...
11
by: Arpan | last post by:
I have always been working with SQL Server 2005 for ASP.NET apps but due to some reasons, had to revert back to MS-Access 2000. When I try to insert/update a MS-Access DB table (MDB), ASP.NET...
9
by: Kelii | last post by:
I've been trying to get this piece to work for a few hours, but have given up. I hope someone out there can help, I think the issue is relatively straightforward, but being a novice, I'm stumped....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.