Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9166221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T15:06:24+00:00 2026-06-17T15:06:24+00:00

for example I have data as found in the table below tabel order —————————————–

  • 0

for example I have data as found in the table below

tabel order

-----------------------------------------
   id_order    no_order       order_date
-----------------------------------------
     1         0000001       12-01-2013
     2         0000002       15-01-2013
-----------------------------------------

tabel item_order

--------------------------------------------------
   id_item_order       id_order      order_name
--------------------------------------------------
       1                 2           Product 1
       2                 2           Product 2
       3                 2           Product 3
       4                 2           Product 4
--------------------------------------------------

then I want to display the data from database with join as below

--------------------------------------------------
  id_item_order     order_name       no_order
--------------------------------------------------
      1             Product 1        0000002 A
      2             Product 2        0000002 B
      3             Product 3        0000002 C
      4             Product 4        0000002 D
--------------------------------------------------

how to display the character “A – n” located behind no_order according to the amount of data that relate item_order with id_order in table order?

please help me. thank you

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T15:06:24+00:00Added an answer on June 17, 2026 at 3:06 pm

    SQL Fiddle for testing

    select i.id_item_order, i.id_order,
            o.no_order || chr(rownum + 64) as no_order
    from item_order i
    inner join "order" o on o.id_order = i.id_order;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to get some data from a column. For example I have data
If I have data (a daily stock chart is a good example but it
In other languages (for example C#)we have a data directory (directory that our program's
I have a data file that looks like the following example. I've added '%'
I have many data.frames, for example: df1 = data.frame(names=c('a','b','c','c','d'),data1=c(1,2,3,4,5)) df2 = data.frame(names=c('a','e','e','c','c','d'),data2=c(1,2,3,4,5,6)) df3 =
For example I have a mysql query that gets some data. Then runs another
For example I have a method that looks like this [self performSelectorOnMainThread:@selector(someMethod) withObject:data waitUntilDone:YES];
In the following example I have two years worth of data denoted by data_2007
for example I have the following: <div class=both> <textarea data-id=1 name=t1>Value 1</textarea> <input type=checkbox
I have a outsource data from : http://example.com/data/news.json Here is the example result after

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.