Skip to content
Advertisement

How can I create a SQL Server stored procedure which can produce a table combining three tables

I have three SQL tables as below.

Table #1: Benchmark

Table #2: VMType

Table #3: VM

I need to create a stored procedure which should produce a new table like this. Here Capacity column is the multiplication of MaxUserPervCpu and NumberOfCores

Table: Capacity

A help on this will be highly appreciated.

Advertisement

Answer

This looks like simple joins:

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement