debasisdas 580 Posting Genius Featured Poster

Which is the PRICE column, in which table ?

debasisdas 580 Posting Genius Featured Poster

No.

You can use select * --- for select all the columns.

If you want selected list of columns only, you need to mention the list in your SQL.

debasisdas 580 Posting Genius Featured Poster

So what better day to start then Today.

debasisdas 580 Posting Genius Featured Poster

please post the table structure only, not all the data in it.

debasisdas 580 Posting Genius Featured Poster

No, if you do not want all the columns you need to specify the list of columns.

If it a table or a view you can create a view on the source object using only the desired columns.

debasisdas 580 Posting Genius Featured Poster

this may help

SELECT DISTINCT
    producten.artnr,
    productlines.prod_id,
    producten.id,
    producten.naam,
    producten.land,
    producten.type,
    producten.kort_omschrijving,
    producten.omschrijving,
    producten.front,
    producten.fles,
    producten.doos,
    producten.metadesc,
    producten.metakey,
    producten.title,
    producten.afbeelding,
    productlines.bedrag
    FROM producten 
    WHERE producten.id IN (SELECT prod_id FROM productlines WHERE price= (select price from productlines)group by prod_id)
    ORDER BY productlines.bedrag
debasisdas 580 Posting Genius Featured Poster

why not select the product with min(price) from second table and fetch that product record from 1st table.

debasisdas 580 Posting Genius Featured Poster

Sorry, we do not solve assignment / home work questions here.

Show some effort to get help.

debasisdas 580 Posting Genius Featured Poster

try this

SELECT * FROM ProfilesWebsites LEFT JOIN ProfilesAccounts 
ON ProfilesWebsites.ProfileWebsiteName = ProfilesAccounts.ProfileWebsiteName
sagive commented: Helped me a lot, thanks +3
debasisdas 580 Posting Genius Featured Poster

database should always be in centralized server.

debasisdas 580 Posting Genius Featured Poster

I think the length of the field is the problem.

i.e.---VARCHAR(50)

change it to VARCHAR(500) and check.

debasisdas 580 Posting Genius Featured Poster
debasisdas 580 Posting Genius Featured Poster

Yes, you can go with the above approach.

debasisdas 580 Posting Genius Featured Poster

Hi Radu,

Welcome to Daniweb.

Hope you have a nice time here.

debasisdas 580 Posting Genius Featured Poster

with the information provided by you it is not possible to guess anything.

debasisdas 580 Posting Genius Featured Poster

if you check, both of the follwing points to the same page.

[url]http://www.daniweb.com/web-development/databases/mysql/threads/368668[/url]
or
[url]http://www.daniweb.com/web-development/databases/126/threads/368668[/url]

so you can use either of them.

debasisdas 580 Posting Genius Featured Poster

that sounds appropriate.

and all forums on web may not follow the same naming conventions.

debasisdas 580 Posting Genius Featured Poster

Hi David,

Welcome to Daniweb.

debasisdas 580 Posting Genius Featured Poster

Please find it here.

debasisdas 580 Posting Genius Featured Poster

mysql ---- forum name
126 ---- forum id

only forum name is included in the thread URL not the forum id.

debasisdas 580 Posting Genius Featured Poster
debasisdas 580 Posting Genius Featured Poster

have you tried as suggested by urtrivedi ?

debasisdas 580 Posting Genius Featured Poster

What you have tried so far ?

debasisdas 580 Posting Genius Featured Poster

I cannot understand why you are having a problem with my posts.

that is because you are not posting here what the exact requirement is.

I have written a program in VB6 that requires certain information to be entered and saved. The information has to be like the following example. Harry.E

As you can see Harry.E has no spaces. When I try to enter Harry.E the program will not accept an upper case letter immediately following a period so it changes the entry to Harry.e which is not what I want.

If the code is designed to accept the information is a certain way , why it will not accept.

Lets see your code.

debasisdas 580 Posting Genius Featured Poster

Please find it here and here.

debasisdas 580 Posting Genius Featured Poster

lets see the code that you are working on.

debasisdas 580 Posting Genius Featured Poster

can't you find the base tables of the view from SQL(in the TEXT column of above mentioned dictionary object) ?

and once you have the SQL, that can be modified for any new requirement.

debasisdas 580 Posting Genius Featured Poster

try this

select * from user_views
debasisdas 580 Posting Genius Featured Poster

rownum is not useful bcoz rownum not coming sequentially it will b come like for first rownum 4 then 2 then 10 like.

have you ever user ROWNUM, or that is just an assumption.

debasisdas 580 Posting Genius Featured Poster

Hi,

Welcome to Daniweb.

debasisdas 580 Posting Genius Featured Poster

you need to use ROWNUM.

debasisdas 580 Posting Genius Featured Poster

what is the source of the data ?

is it from any database ?

debasisdas 580 Posting Genius Featured Poster

You granted from which schema system or HR ?

debasisdas 580 Posting Genius Featured Poster

dont have a pc and no resources (books,internet) ...

I am really sorry for you, can't do much about that.

debasisdas 580 Posting Genius Featured Poster

please post some sample data for input with expected output.

debasisdas 580 Posting Genius Featured Poster

please check this and this.

debasisdas 580 Posting Genius Featured Poster

if name is already followed by a period and an uppercase letter, what is the problem then ?

debasisdas 580 Posting Genius Featured Poster

that will depend on how the image is stored in the database
1. if you are storing only the file path

You need to retrieve the path from Db and point to the same from Picture Box.

2. if the image is stored as a binary stream.

retrieve the stream
recreate the image from stream
display in Picture Box.

debasisdas 580 Posting Genius Featured Poster

You need to update the data not the application, right ?

You need to use a centralized database and all the branches should access the single instance.

debasisdas 580 Posting Genius Featured Poster

You need to update the data not the application, right ?

You need to use a centralized database and all the branches should access the single instance.

debasisdas 580 Posting Genius Featured Poster

Simply you can try to ping the system using its IP or system name over LAN.

debasisdas 580 Posting Genius Featured Poster

Can you please post your database table structures.

debasisdas 580 Posting Genius Featured Poster

Welcome to Daniweb.

debasisdas 580 Posting Genius Featured Poster

that should be feature of application not oracle database.

debasisdas 580 Posting Genius Featured Poster

try this

SELECT  * from empl 
  where  LOWER(REPLACE(replace(replace(replace(replace(drug_name,'.',' '),'_',' '),'-',''),',',' '),' ','')) = 'govindraj'
debasisdas 580 Posting Genius Featured Poster

that is what i said in my post.

it is a sample code so i said check for MySQL syntax.

NOTE :-- the code is in Oracle syntax.

debasisdas 580 Posting Genius Featured Poster

.... i have no pc at home i dont have much time

what you don't have is will to learn and the problem is you are also too lazy to use search engine.

pray that u cahnge ur mind for me

We don't bend our rules.

debasisdas 580 Posting Genius Featured Poster

try this sample code

select * from empl 
where lower(replace(translate(ename,'., _-','     '),' ',''))= 'govindraj'

you need to modify the above query to suit your requirements.
also check for MySQL syntax.

debasisdas 580 Posting Genius Featured Poster

what is the query that you are working on.

debasisdas 580 Posting Genius Featured Poster

Have you started with anything yet ?