Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Creating tables from columns

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!!
My name is Andrew and now at my 30s (i know i am an old man!!) i decided to take part in a coding bootcamp in my country and now i am at part of front end (html,javascript,css etc)..
i have one query and i hope you help me solve it (if it can be done!!)

well,i have created in html a simple menu with products and salesmen...
every submenu has a table with characteristics.
Product has :ProductID,Price,
Salesmen has: SalesmanID,Name,ProductSold

the trainers here asked us to create a table SalesmanPerProduct ...
i want to ask is there a way to create this table by combining the other two (all columns) ??
if yes,how can i do it??/
 
Marshal
Posts: 25823
69
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Andrew DonMark wrote:i want to ask is there a way to create this table by combining the other two (all columns) ??



Just to clarify:  You want to do this task in JavaScript? I ask because it would be more usual to do this sort of thing with a database in the back end, rather than doing it in the front end.

(By the way my children are older than you.)
 
bacon. tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
    Bookmark Topic Watch Topic
  • New Topic