😳😳 whaaat!? Someone wrote a 3D Engine made of Excel formulas https://www.gamasutra.com/blogs/CBel/20180208/308549/3D_engine_entirely_made_of_MS_Excel_formulae__Enjoy_this_Doomxls_file_.php
@I'mnothuman Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
OAuth 2 recommends using the system's default browser for most Auth.
I am writing an electron lib, I am totally fine by that 😛, but the user of the library may not want that kind of UX (also I am not stupid enough to use electron's browser)
(yes, i did google, but it was the upper part of a boot or something)
in any case, i cant get my head around this one
consider the following data structure in an Sql Server database
(n to n links are connected with a "simple" table that contains the id's of both linked tables)
I have to calculate the total revenue(?) of a specific month
so, getting the price per day of all bikes and all accessoires in the rental contract and multiplying it by the number of days that the contract was in that specific month
SELECT
DATEDIFF(DAY, c.StartDate, c.EndDate) AS Days,
DATEDIFF(DAY, c.StartDate, c.EndDate) * b.PricePerDay AS TotalCharges,
c.*,
b.*
FROM RentalContract c
JOIN RentalContract_Bike c_b ON c.ID = c_b.RentalContractID
JOIN Bike b ON c_b.BikeID = b.ID;