N
N
nybikja2017-10-21 19:10:25
SQL
nybikja, 2017-10-21 19:10:25

How to make the cube go outside the div?

I get it like this
https://ibb.co/jvcwMR
But I need it like this
https://ibb.co/nJi31R
I'm talking about the footer, I need to make it go beyond the green zone
Thank you in advance

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
Alexeytur, 2019-07-23
@avatar22007

UPDATE dataset d
SET d.price = 
   (SELECT TOP 1 price FROM dataset d1 WHERE 
    d.good_id=d1.good_id AND d.owner_id=d1.owner_id AND d1.price IS NOT NULL AND 
    d1.year_id<=d.year_id AND d1.week_number<=d.week_number 
    ORDER BY d1.year_id DESC, d1.week_number DESC)
WHERE d.price IS NULL

True, this query is looking for the nearest date less than the missed one.

K
Konstantin Tsvetkov, 2019-07-22
@tsklab

For SQL, there should always be a certainty: "as soon as possible" should become "nearest". And what to do with the goods if there is no such price.

A
Abdula Magomedov, 2017-10-21
@Avarskiy

margin with a negative value

N
nybikja, 2017-10-21
@nybikja

If possible, then change it as it should be

A
A person from Kazakhstan, 2017-10-21
@LenovoId

show the code ... according to the screenshots, they guess at otvet.mail.ru/magic/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question