Just give an auto increment value in a column and retrive it in order dec.
Then you get output in lifo order
LIFO stands for Last In First Out. Ex: Stack
No. A stack is a LIFO (Last In First Out) data structure.A queue is a FIFO (First In First Out) data structure.
Lifo Fifo
what is the difference beyween lifo and fifo
Push and pop are properties of a stack (also called a LIFO-- Last In, First Out-- queue).
a decrease in the LIFO reserve is subtracted from LIFO cost of goods sold.
fifo
In a queue, elements are placed in line; the first to get into the queue is the first to get out (FIFO - first in, first out).A stack is also a structure to store pieces of data, or objects, but the last element to get in will be the first element to get out (LIFO).In a queue, elements are placed in line; the first to get into the queue is the first to get out (FIFO - first in, first out).A stack is also a structure to store pieces of data, or objects, but the last element to get in will be the first element to get out (LIFO).In a queue, elements are placed in line; the first to get into the queue is the first to get out (FIFO - first in, first out).A stack is also a structure to store pieces of data, or objects, but the last element to get in will be the first element to get out (LIFO).In a queue, elements are placed in line; the first to get into the queue is the first to get out (FIFO - first in, first out).A stack is also a structure to store pieces of data, or objects, but the last element to get in will be the first element to get out (LIFO).
b
Indicates the effect on income if LIFO were not used.
FIFO First in first out LIFO Last in last out
LIFO Reserve