close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Normalization

Thread began 6/13/2011 6:41 pm by madelectrical386948 | Last modified 6/30/2011 2:48 pm by madelectrical386948 | 8703 views | 33 replies

madelectrical386948

Hi Jenny,

i am kind of confused. I thought the Select is used to select the Table columns. So looking over the optionsID4 column, the options.optionName is next. I don't have a table called options, but optionstable.

Below is the query. When I run it, I get a MySQL error 1146 Table 'mentor.options'doesn't exist. I have the database named mentortest and that doesn't match the error. I will look this error up.

I was trying to find the AS function description, but the 2 books don't describe it. What does that actually mean.

Thx

Mike


SELECT companytable.companyName, companyindextable.optionsID1, companyindextable.optionsID2, companyindextable.optionsID3, companyindextable.optionsID4, options.optionName, options1.optionName, options2.optionName, options3.optionName, options4.optionName
FROM companytable
LEFT JOIN companyindextable ON companytable.companyID=companyindextable.companyID
LEFT JOIN options ON companyindextable.optionsID=options.optionsID
LEFT JOIN options AS options1 ON companyindextable.optionsID1=options1.optionID
LEFT JOIN options AS options2 ON companyindextable.optionsID2=options2.optionID
LEFT JOIN options AS options3 ON companyindextable.optionsID3=options3.optionID
LEFT JOIN options AS options4 ON companyindextable.optionsID4=options4.optionID

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...